package cn.songwang.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department {
    private Long id;
    private String sn;  //部门编号
    private String name;    //部门名称
    private String dirPath;     //部门的上级分类层级id
    private Integer state;       //部门状态，0正常，1禁用
    private Employee manager;      //部门管理员，关联Employee表id
    //private Long parent_id;       //上级部门

    private Department parent; //自关联
}
